from graph import *

x = int(input())
y = int(input())
m = int(input())
penColor("blue")
brushColor('blue')
polygon([(x,y), (x + m * 50,y), (x + m* 50,y + m * 50), (x + m* 100,y + m * 50), (x + m* 100,y + m * 0), (x + m* 150,y + m * 0), (x + m* 150,y + m * 100), (x + m * 0,y + m * 100),(x,y)])
run()
polygon([(0,0), (50,0),(50,50),(100,50), (100,0), (150,0), (150,100), (150,100), (0,100)])